﻿#region Copyrigth and License
/*==============================================================================
 *  Copyright (c) cndotnet.org Corporation.  All rights reserved.
 * ===============================================================================
 * This code and information is provided "as is" without warranty of any kind,
 * either expressed or implied, including but not limited to the implied warranties
 * of merchantability and fitness for a particular purpose.
 * ===============================================================================
 * Licensed under the GNU General Public License (GPL) v2
 * http://www.cndotnet.org/ezsocio
 * ==============================================================================*/
#endregion
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace CNdotnet.Ezsocio.ContactService.LiveID {
    /// <summary>
    /// Personal类是msn联系人信息中的一部分:包括UniqueName,SortName,NickName,DisplayName
    /// </summary>
    [XmlNodeMapping(XmlNodeName = "Profiles/Personal")]
    [DataContract]
    public class Personal {
        #region Fields

        #endregion

        #region Constructors

        #endregion

        #region Properties
        /// <summary>
        /// 名称标识
        /// </summary>
        [XmlNodeMapping(XmlNodeName = "UniqueName")]
        [DataMember]
        public string UniqueName {
            get;
            set;
        }
        /// <summary>
        /// ?
        /// </summary>
        [XmlNodeMapping(XmlNodeName = "SortName")]
        [DataMember]
        public string SortName {
            get;
            set;
        }
        /// <summary>
        /// 昵称
        /// </summary>
        [XmlNodeMapping(XmlNodeName = "NickName")]
        [DataMember]
        public string NickName {
            get;
            set;
        }

        /// <summary>
        /// 显示名称
        /// </summary>
        [XmlNodeMapping(XmlNodeName = "DisplayName")]
        [DataMember]
        public string DisplayName {
            get;
            set;
        }
        #endregion

        #region Events

        #endregion
    }
}
